<!DOCTYPE html>
<html lang="en">
<head>

<meta charset="UTF-8">
<title>字体</title>
  <link rel="stylesheet" href="../../css/normalize.css">
  <link rel="stylesheet" href="../../css/dlg-common.css">
  <link rel="stylesheet" href="../list/list.css">
  <link rel="stylesheet" href="dlg-font.css">
</head>
<body>
<div class="test">
  <input type="button" value="弹出对话框">
</div>
<script src="//apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="//cdn.bootcss.com/jqueryui/1.12.1/jquery-ui.min.js"></script>
<script src="../list/list.js"></script>
<script src="dlg-font.js"></script>
<script>
$(function() {
    $btnTest = $('div.test>input[type="button"]');

    $btnTest.click(function() {
      $dlgFont.show({
        okHandler: function(e) {
          console.log(e);
        }
      });
    });
});
</script>
</body>
</html>
